.modal-dialog
  .modal-content
    = form_tag send_to_friend_user_post_path(:user_id => params[:user_id], :id => params[:id]), :class => 'form form-horizontal submit-via-ajax', :id => 'send_to_friend_form' do
      .modal-header
        %button.close{:type => 'button', 'data-dismiss' => 'modal'}
          %span{'aria-hidden' => true}
            &times;
          %span.sr-only
            Close
        %h3= :send_this_story_to_friends.l
      .modal-body
        .form-group
          %label.col-sm-4.control-label= :enter_a_message.l
          .col-sm-5
            = text_area_tag :message, :this_story_is_awesome.l, :class => "form-control"
        .form-group
          %label.col-sm-4.control-label=:enter_e_mail_addresses_comma_sep.l
          .col-sm-5
            = text_area_tag :emails, '', :class => "form-control"
          .col-sm-3
            %a{:href => '#', :onclick => "showPlaxoABChooser('emails', '/base/plaxo'); return false;"}
              = image_tag "http://www.plaxo.com/images/abc/buttons/add_button.gif", :alt => :add_from_my_address_book.l
      .modal-footer
        = ajax_spinner_for 'send_to_friend_form'
        %button.btn.btn-default{"data-dismiss" => "modal", :type => "button"} Close
        = submit_tag :send.l, :class => 'btn btn-primary'
